// index.js
// const defaultAvatarUrl = 'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0'

Page({
  data: {
    list: [],
    // list1: [
    //   {
    //     id: 'form11',
    //     name: '发送1111',
    //     open: false,
    //   },{
    //     id: 'form11',
    //     name: '发送1111',
    //     open: false,
    //   },{
    //     id: 'form11',
    //     name: '发送1111',
    //     open: false,
    //   }],
    // motto: 'Hello World',
    // userInfo: {
    //   avatarUrl: defaultAvatarUrl,
    //   nickName: '',
    // },
    // hasUserInfo: false,
    // canIUseGetUserProfile: wx.canIUse('getUserProfile'),
    // canIUseNicknameComp: wx.canIUse('input.type.nickname'),
  },
  // import CustomPage from '../../../base/CustomPage'

  // const base64 = require('../../images/base64')
  
  // CustomPage({
  //   onShareAppMessage() {
  //     return {
  //       title: 'cell',
  //       path: 'packageExtend/pages/form/cell/cell'
  //     }
  //   },
    onLoad() {
      this.getSMSSendList();
    },
    // 获取信息
    getSMSSendList () {
    var that = this;
    wx.request({
      url:
        "https://www.ejingyou.cn/ServerHuanwei/CompanyapiBDEapi/Role/getSMSSendListBDQT",
      header: {
        "content-type": "application/json", // 默认值
      },
      success: (res) => {
        console.log(res.data)
        that.setData({
          list: res.data,
        });
      },
    });
  },
    slideButtonTap(e) {
      console.log('slide button tap', e.detail)
    }
  })
  